<?php
class FlashModel extends AdvModel
{
	// 自动填充规则
	var $_auto = array(

		array("uploadtime","time",1,"function"),

	);

	// 自动校验规则
	var $_validate = array(
		array('title','require','动画名称不能为空',0,'',3),
		array('url','require','动画不能为空',0,'',3),
		array('desc','require','信息摘要不能为空',0,'',3),
        
	);

}
?>